.class public Lcom/facebook/orca/ops/OrcaServiceFragment;
.super Lcom/facebook/orca/activity/OrcaNonUiFragment;
.source "OrcaServiceFragment.java"


# instance fields
.field private J:Lcom/facebook/orca/ops/OrcaServiceOperation;
    .annotation runtime Lcom/google/inject/Inject;
    .end annotation
.end field

.field private K:Lcom/facebook/orca/ops/OrcaServiceOperation$OnCompletedListener;

.field private L:Lcom/facebook/orca/ops/OrcaServiceOperation$OnProgressListener;

.field private M:Lcom/facebook/orca/ops/OperationProgressIndicator;

.field private N:Z


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 17
    invoke-direct {p0}, Lcom/facebook/orca/activity/OrcaNonUiFragment;-><init>()V

    return-void
.end method

.method static synthetic a(Lcom/facebook/orca/ops/OrcaServiceFragment;)Lcom/facebook/orca/ops/OrcaServiceOperation$OnCompletedListener;
    .locals 1
    .parameter

    .prologue
    .line 17
    iget-object v0, p0, Lcom/facebook/orca/ops/OrcaServiceFragment;->K:Lcom/facebook/orca/ops/OrcaServiceOperation$OnCompletedListener;

    return-object v0
.end method

.method static synthetic b(Lcom/facebook/orca/ops/OrcaServiceFragment;)Lcom/facebook/orca/ops/OrcaServiceOperation$OnProgressListener;
    .locals 1
    .parameter

    .prologue
    .line 17
    iget-object v0, p0, Lcom/facebook/orca/ops/OrcaServiceFragment;->L:Lcom/facebook/orca/ops/OrcaServiceOperation$OnProgressListener;

    return-object v0
.end method


# virtual methods
.method public a()V
    .locals 2

    .prologue
    const/4 v1, 0x0

    .line 64
    invoke-super {p0}, Lcom/facebook/orca/activity/OrcaNonUiFragment;->a()V

    .line 65
    iget-object v0, p0, Lcom/facebook/orca/ops/OrcaServiceFragment;->J:Lcom/facebook/orca/ops/OrcaServiceOperation;

    invoke-virtual {v0}, Lcom/facebook/orca/ops/OrcaServiceOperation;->a()V

    .line 66
    iput-object v1, p0, Lcom/facebook/orca/ops/OrcaServiceFragment;->K:Lcom/facebook/orca/ops/OrcaServiceOperation$OnCompletedListener;

    .line 67
    iput-object v1, p0, Lcom/facebook/orca/ops/OrcaServiceFragment;->L:Lcom/facebook/orca/ops/OrcaServiceOperation$OnProgressListener;

    .line 68
    return-void
.end method

.method public a(Landroid/os/Bundle;)V
    .locals 3
    .parameter

    .prologue
    const/4 v2, 0x1

    .line 29
    invoke-super {p0, p1}, Lcom/facebook/orca/activity/OrcaNonUiFragment;->a(Landroid/os/Bundle;)V

    .line 30
    iget-object v0, p0, Lcom/facebook/orca/ops/OrcaServiceFragment;->J:Lcom/facebook/orca/ops/OrcaServiceOperation;

    invoke-virtual {v0, v2}, Lcom/facebook/orca/ops/OrcaServiceOperation;->a(Z)V

    .line 31
    iget-object v0, p0, Lcom/facebook/orca/ops/OrcaServiceFragment;->J:Lcom/facebook/orca/ops/OrcaServiceOperation;

    new-instance v1, Lcom/facebook/orca/ops/OrcaServiceFragment$1;

    invoke-direct {v1, p0}, Lcom/facebook/orca/ops/OrcaServiceFragment$1;-><init>(Lcom/facebook/orca/ops/OrcaServiceFragment;)V

    invoke-virtual {v0, v1}, Lcom/facebook/orca/ops/OrcaServiceOperation;->a(Lcom/facebook/orca/ops/OrcaServiceOperation$OnCompletedListener;)V

    .line 46
    iget-object v0, p0, Lcom/facebook/orca/ops/OrcaServiceFragment;->J:Lcom/facebook/orca/ops/OrcaServiceOperation;

    new-instance v1, Lcom/facebook/orca/ops/OrcaServiceFragment$2;

    invoke-direct {v1, p0}, Lcom/facebook/orca/ops/OrcaServiceFragment$2;-><init>(Lcom/facebook/orca/ops/OrcaServiceFragment;)V

    invoke-virtual {v0, v1}, Lcom/facebook/orca/ops/OrcaServiceOperation;->a(Lcom/facebook/orca/ops/OrcaServiceOperation$OnProgressListener;)V

    .line 54
    if-eqz p1, :cond_0

    .line 55
    iget-object v0, p0, Lcom/facebook/orca/ops/OrcaServiceFragment;->J:Lcom/facebook/orca/ops/OrcaServiceOperation;

    invoke-virtual {v0, p1}, Lcom/facebook/orca/ops/OrcaServiceOperation;->b(Landroid/os/Bundle;)V

    .line 57
    :cond_0
    iget-object v0, p0, Lcom/facebook/orca/ops/OrcaServiceFragment;->J:Lcom/facebook/orca/ops/OrcaServiceOperation;

    iget-object v1, p0, Lcom/facebook/orca/ops/OrcaServiceFragment;->M:Lcom/facebook/orca/ops/OperationProgressIndicator;

    invoke-virtual {v0, v1}, Lcom/facebook/orca/ops/OrcaServiceOperation;->a(Lcom/facebook/orca/ops/OperationProgressIndicator;)V

    .line 58
    const/4 v0, 0x0

    iput-object v0, p0, Lcom/facebook/orca/ops/OrcaServiceFragment;->M:Lcom/facebook/orca/ops/OperationProgressIndicator;

    .line 59
    iput-boolean v2, p0, Lcom/facebook/orca/ops/OrcaServiceFragment;->N:Z

    .line 60
    return-void
.end method

.method public a(Lcom/facebook/orca/ops/OperationProgressIndicator;)V
    .locals 1
    .parameter

    .prologue
    .line 148
    iget-boolean v0, p0, Lcom/facebook/orca/ops/OrcaServiceFragment;->N:Z

    if-eqz v0, :cond_0

    .line 149
    iget-object v0, p0, Lcom/facebook/orca/ops/OrcaServiceFragment;->J:Lcom/facebook/orca/ops/OrcaServiceOperation;

    invoke-virtual {v0, p1}, Lcom/facebook/orca/ops/OrcaServiceOperation;->a(Lcom/facebook/orca/ops/OperationProgressIndicator;)V

    .line 153
    :goto_0
    return-void

    .line 151
    :cond_0
    iput-object p1, p0, Lcom/facebook/orca/ops/OrcaServiceFragment;->M:Lcom/facebook/orca/ops/OperationProgressIndicator;

    goto :goto_0
.end method

.method public a(Lcom/facebook/orca/ops/OrcaServiceOperation$OnCompletedListener;)V
    .locals 0
    .parameter

    .prologue
    .line 108
    iput-object p1, p0, Lcom/facebook/orca/ops/OrcaServiceFragment;->K:Lcom/facebook/orca/ops/OrcaServiceOperation$OnCompletedListener;

    .line 109
    return-void
.end method

.method public a(Lcom/facebook/orca/ops/OrcaServiceOperation$OnProgressListener;)V
    .locals 0
    .parameter

    .prologue
    .line 126
    iput-object p1, p0, Lcom/facebook/orca/ops/OrcaServiceFragment;->L:Lcom/facebook/orca/ops/OrcaServiceOperation$OnProgressListener;

    .line 127
    return-void
.end method

.method public a(Ljava/lang/String;Landroid/os/Bundle;)V
    .locals 1
    .parameter
    .end parameter
    .parameter
        .annotation runtime Ljavax/annotation/Nullable;
        .end annotation
    .end parameter

    .prologue
    .line 163
    iget-object v0, p0, Lcom/facebook/orca/ops/OrcaServiceFragment;->J:Lcom/facebook/orca/ops/OrcaServiceOperation;

    invoke-virtual {v0, p1, p2}, Lcom/facebook/orca/ops/OrcaServiceOperation;->a(Ljava/lang/String;Landroid/os/Bundle;)V

    .line 164
    return-void
.end method

.method public b(Landroid/os/Bundle;)V
    .locals 1
    .parameter

    .prologue
    .line 72
    iget-object v0, p0, Lcom/facebook/orca/ops/OrcaServiceFragment;->J:Lcom/facebook/orca/ops/OrcaServiceOperation;

    invoke-virtual {v0, p1}, Lcom/facebook/orca/ops/OrcaServiceOperation;->a(Landroid/os/Bundle;)V

    .line 73
    return-void
.end method

.method public b()Z
    .locals 1

    .prologue
    .line 81
    iget-object v0, p0, Lcom/facebook/orca/ops/OrcaServiceFragment;->J:Lcom/facebook/orca/ops/OrcaServiceOperation;

    invoke-virtual {v0}, Lcom/facebook/orca/ops/OrcaServiceOperation;->b()Z

    move-result v0

    return v0
.end method

.method public c()Lcom/facebook/orca/ops/OrcaServiceOperation$State;
    .locals 1

    .prologue
    .line 90
    iget-object v0, p0, Lcom/facebook/orca/ops/OrcaServiceFragment;->J:Lcom/facebook/orca/ops/OrcaServiceOperation;

    invoke-virtual {v0}, Lcom/facebook/orca/ops/OrcaServiceOperation;->c()Lcom/facebook/orca/ops/OrcaServiceOperation$State;

    move-result-object v0

    return-object v0
.end method
